<template>
	<div id="preview-pdf" class="preview-pdf">
		<!-- <canvas id="canvas"></canvas> -->
	</div>
</template>

<script setup lang="ts">
	const props = defineProps<{
		src?: any;
	}>();

	onMounted(async () => {
		console.log('props', props);
	});
</script>

<style lang="scss" scoped>
	.preview-pdf {
		margin: 0;
		padding: 0;

		canvas {
			width: 100% !important;
		}
	}

	.preview-loading {
		padding: 10px 0;
		text-align: center;
	}
</style>